﻿using System;
using System.Windows.Forms;

namespace ALDIOrganizer
{
    public sealed partial class PhoneNumbers : Form
    {
        public PhoneNumbers()
        {
            InitializeComponent();
        }

        public PhoneNumbers(
            string pName,
            string pMobile,
            string pStationary)
            : this()
        {
            Text = Text.Replace("#", pName);
            if (pMobile != String.Empty)
            {
                lbxMobileNumber.Text = pMobile;
            }
            if (pStationary != String.Empty)
            {
                lbxStationaryNumber.Text = pStationary;                
            }
        }
    }
}
